import TabList from "@/components/TabList";
import EvaluationArticleList from "@/components/TabList/EvaluationArticleList";
import useUrlState from "@ahooksjs/use-url-state";

export default function () {
  const [state] = useUrlState<{
    keyword?: string;
  }>({
  });

  return <TabList
    prefixTabList={[{
      label: '全局检索',
      key: 'all',
      children: (
        <EvaluationArticleList
          hideSpecificationNames
          keyword={state?.keyword}
        />
      ),
    }]}
  />;
}
